
all:sem cond
PTHREAD = -lpthread 
STD = -std=c++11
sem:sem.cpp
	g++ $^ -o $@ $(PTHREAD) $(STD) 
cond:cond.c
	gcc $^ -o $@ -lpthread -std=c11
